home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / daemons / lpr_read < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.0 KB  |  36 lines

  1. This is a full port of the Berekely lpr/lpd print spooling/remote
  2. printing system.  I believe someone else did an earlier port, but I
  3. could not find it.  It requires kernel tcp (inet sockets.).  I've
  4. added slightly to the printcap format to give people with serial
  5. printers more control over termios.  These are the relevant changes
  6.  
  7.     br - Baudrate (set first.)
  8.  
  9.     fc \  
  10.     fs /   oflags clear and set.
  11.  
  12.     xc \
  13.     xs /   lflags clear and set.
  14.  
  15.     ifc \
  16.     ifs /  iflags clear and set.
  17.  
  18.     cfc \
  19.     cfs /  cflags clear and set
  20.  
  21. The printcap.5 man page should describe the format of the rest.
  22.  
  23. lpd, lpc, pac, and printcap are in /usr/etc (not /etc since they are not
  24. needed at boot time.)
  25.  
  26. hosts.equiv and hosts.lpd are in /usr/etc/inet.
  27.  
  28. lpr, lprm, lpq, and lptest should all be setgid daemon.
  29. /usr/spool/lp1 should be owned by daemon group daemon with permission 0660.
  30.  
  31. As packaged you should have a set up for a parallel printer named lp
  32. on /dev/lp1 with the spool file /spool/lp1.  You will need to add the
  33. line /usr/etc/lpd to your /etc/rc file.
  34.  
  35. Ross Biro bir7@leland.stanford.edu
  36.